#ifndef _TTY_H_
#define _TTY_H_

#define bytes_per_line		160

#define colume_max		80
#define line_max			25

typedef int (*tty_proto)(void);


struct tty{
	char *line[line_max];
	int line_len[line_max];
	int pos_x;
	int pos_y;
};

int vga_addr(void);
int new_line_cursor(void);
int move_cursor(void);
int scroll(void);
int kprintf(char *fmt,...);
int kputs(char *string);
int kputc(char ch);

#endif
